.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved.  The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\"	@(#)getpagesize.2	6.1 (Berkeley) 5/15/85
.\"
.TH GETPAGESIZE 2 "May 15, 1985"
.UC 5
.SH NAME
getpagesize \- get system page size
.SH SYNOPSIS
.nf
.ft B
pagesize = getpagesize()
int pagesize;
.ft R
.fi
.SH DESCRIPTION
.I Getpagesize
returns the number of bytes in a page.
Page granularity is the granularity of many of the memory
management calls.
.PP
The page size is a 
.I system
page size and may not be the same as the underlying
hardware page size.
.SH SEE ALSO
sbrk(2), pagesize(1)
